package cn.itsource.hrm.doc;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.math.BigDecimal;

/**
 * @author chenyuqi
 * @version v1.0.0
 * @date 2020/5/25
 */
@Data
@Document(indexName = "hrm")
public class CourseDoc {
    @Id
    private Long id;
    private String name;
    private String users;
    private Long courseTypeId;
    private String gradeName;
    private Long grade;
    private Long tenantId;
    private String tenantName;
    private Long userId;
    private String userName;
    private Long startTime;
    private Long endTime;
    /**
     * 收费规则
     */
    private Long charge;
    /**
     * 有效性
     */
    private Long valid;
    private String qq;
    /**
     * 价格
     */
    private Double price;
    /**
     * 原价
     */
    private Double priceOld;
    /**
     * 过期时间
     */
    private Long expires;
}
